[READ-ONLY] Mirror of https://github.com/flo-bit/threlte-vr-code-editor. proof of concept for a live 3d code editor in vr
code-editor
threejs
threlte
vr
1<script lang="ts">
2 import App from './App.svelte';
3 import { ARButton, VRButton } from '@threlte/xr';
4
5 /** @type {import('./$types').PageData} */
6 export let data;
7</script>
8
9<div class="fullscreen">
10 <App id={data.id} />
11</div>
12<ARButton />
13
14<style>
15 .fullscreen {
16 width: 100vw;
17 height: 100vh;
18 }
19</style>